#!/usr/bin/python3

import tkinter as tk

class App():
    
    def __init__(self, root):

        frame = tk.Frame(root)
        frame.pack()

        self.buttom = tk.Button(frame, text="Hello", fg='blue', command=self.info)
        self.buttom.pack(side=tk.LEFT)

    def info(self):
        print("Hello World")


if __name__ == "__main__":
    root = tk.Tk()
    root.title("Python Gui App")
    app = App(root)
    root.mainloop()
